<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>회원정보 수정</title>
</head>

<body>
	<form:form method="post" action="modify/join" commandName="user">
		<table align="center">
			<tr>
				<td>ID</td>
				<td><input name="id" type="text" value="${user.id}" disabled/></td>
			</tr>
			<tr>
				<td>Password</td>
				<td><input name="password" type="password" /></td>
			</tr>
			<tr>
				<td>이름</td>
				<td><input name="name" type="text" value="${user.name}"/></td>
			</tr>
			<tr>
				<td>설명</td>
				<td><input name="description" type="text" value="${user.description}"/></td>
			</tr>
			<tr>
				<td>프로필이미지</td>
				<td>
					<input type="file" name="image" value="찾아보기">
					<input type="hidden" name="image" ${user.image}>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="회원가입" action="joinuser" method="GET">
	</form:form>
					<input type="submit" value="취소" action="joinuser" method="GET">					
				</td>
			</tr>
	</table>
</body>
</html>